package com.teichmann.engine;

import java.io.IOException;

import com.teichmann.core.Page;

public class Executor implements Runnable {

	private Page[] pages = new Page[] { 
			new com.teichmann.core.targets.Arevesc(),
			new com.teichmann.core.targets.AutoBello(),
			new com.teichmann.core.targets.AutoCarro(),
			new com.teichmann.core.targets.AutoNivel(),
			new com.teichmann.core.targets.BomCarro(),
			new com.teichmann.core.targets.Imola(), 
			new com.teichmann.core.targets.RC() 
			};

	public void run() {
		try {
			new CarSearch(pages).process();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	public static void main(String args[]) {
		(new Thread(new Executor())).start();
	}

}
